package com.mornd.gulimall.product.entity.vo.spusave;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import java.math.BigDecimal;

/**
 * @author: mornd
 * @dateTime: 2023/8/3 - 21:40
 * 积分
 */

@Getter
@Setter
public class BoundsVo {
    /**
     * 金币
     */
    @Min(value = 0, message = "积分金币不能小于{value}")
    private BigDecimal buyBounds;

    /**
     * 成长值
     */
    @Min(value = 0, message = "积分成长值不能小于0")
    private BigDecimal growBounds;
}
